Test Case Generation for Program Repair: A Study of Feasibility and Effectiveness
نویسندگان
چکیده
Among the many different kinds of program repair techniques, one widely studied family of techniques is called test suite based repair. Test-suites are in essence input-output specifications and are therefore typically inadequate for completely specifying the expected behavior of the program under repair. Consequently, the patches generated by test suite based program repair techniques pass the test suite, yet may be incorrect. Patches that are overly specific to the used test suite and fail to generalize to other test cases are called overfitting patches. In this paper, we investigate the feasibility and effectiveness of test case generation in alleviating the overfitting issue. We propose two approaches for using test case generation to improve test suite based repair, and perform an extensive evaluation of the effectiveness of the proposed approaches in enabling better test suite based repair on 224 bugs of the Defects4J repository. The results indicate that test case generation can change the resulting patch, but is not effective at turning incorrect patches into correct ones. We identify the problems related with the ineffectiveness, and anticipate that our results and findings will lead to future research to build test-case generation techniques that are tailored to automatic repair systems.
منابع مشابه
Optimal Placement and Sizing of Distributed Generation Via an Improved Nondominated Sorting Genetic Algorithm II
The use of distributed generation units in distribution networks has attracted the attention of network managers due to its great benefits. In this research, the location and determination of the capacity of distributed generation (DG) units for different purposes has been studied simultaneously. The multi-objective functions in the optimization model are reducing system line losses; reducing v...
متن کاملDevelopment of an integrated program of sensory rehabilitation based on vibroacoustic and virtual reality and its effectiveness on the profile of auditory processing in children with autism spectrum disorder: A Case study
Introduction: People with autism spectrum disorder have sensory abnormalities in addition to social interactions, communication skills, limited interests and stereotyped behaviors. Therefor the present study conducted with the aim of development of an integrated program of sensory rehabilitation based on vibroacoustic and virtual reality and its effectiveness on the profile of auditory, in chil...
متن کاملThe Effectiveness of Spiritual Confrontation Skills on Pain Self-efficacy in Patients with Severe Thalassemia
Background and Purpose: Thalassemia is a chronic genetic disorder caused by the deficiency of one or more multi-chain polypeptide globin. This disease is transmitted from generation to generation according to Mendelchr('39')s laws of inheritance. The resent study aimed to assess the effectiveness of spiritual coping skills training in pain self-efficacy in patients with severe thalassemia. Mat...
متن کاملEarly Rehabilitation Protocol for Bullae Repair and Pleurectomy: A Case Report
Background: Postoperative physiotherapy is routinely prescribed for patients after thoracic surgeries. There are no established guidelines for exercise prescription after pleural resection surgeries. The present study aimed to determine the effect of an individualized postoperative physiotherapy program on a patient who underwent pleurectomy. Methods: A 19-year-old female patient was admitted ...
متن کاملEffectiveness of training nurses on the National Program for Hospital Preparedness in improving their preparedness for accidents and disasters
Background and Aims: The National Program for Hospital Preparedness is a comprehensive and unified model for planning and responding to accidents and disasters in hospitals and health centers of the country. The present study aimed to assess the effectiveness of training nurses on The National Program for Hospital Preparedness in their preparedness for disasters and accidents. Materials and Me...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- CoRR
دوره abs/1703.00198 شماره
صفحات -
تاریخ انتشار 2017